import request from '@/utils/request'

// 查询考勤日报列表
export function listAttend_daily_account(query) {
    return request({
        url: '/ehr/attend_daily_account/abnormalList',
        method: 'get',
        params: query
    })
}

// 查询考勤日报详细
export function getAttend_daily_account(dailyAcountId) {
    return request({
        url: '/ehr/attend_daily_account/' + dailyAcountId,
        method: 'get'
    })
}

// 新增考勤日报
export function addAttend_daily_account(data) {
    return request({
        url: '/ehr/attend_daily_account',
        method: 'post',
        data: data
    })
}

// 修改考勤日报
export function updateAttend_daily_account(data) {
    return request({
        url: '/ehr/attend_daily_account',
        method: 'put',
        data: data
    })
}

// 删除考勤日报
export function delAttend_daily_account(dailyAcountId) {
    return request({
        url: '/ehr/attend_daily_account/' + dailyAcountId,
        method: 'delete'
    })
}